package cn.larry.aop.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import cn.larry.aop.service.ArgsService;

/**
 * @author LarryZeal
 *
 */
@Service
public class ArgsServiceImpl implements ArgsService {
	private static Logger logger = LoggerFactory.getLogger(ArgsServiceImpl.class);

	@Override
	public void sayHi() {
		logger.info("hi");
	}

	@Override
	public void sayHi(String name) {
		logger.info("hi, " + name);
	}

	@Override
	public void sayHi(String name, int id) {
		logger.info("hi, " + name + ", your id is " + id);
	}

}
